package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.entity.SpuAttrValue;
import com.example.service.SpuAttrValueService;
import com.example.mapper.SpuAttrValueMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 12057
* @description 针对表【spu_attr_value(spu属性值)】的数据库操作Service实现
* @createDate 2024-05-13 13:48:02
*/
@Service
public class SpuAttrValueServiceImpl extends ServiceImpl<SpuAttrValueMapper, SpuAttrValue>
    implements SpuAttrValueService{
    @Override
    public List<SpuAttrValue> getSpuAttrsBySpuId(Integer spuId) {

        return baseMapper.getSpuAttrsBySpuId(spuId);
    }

    @Override
    public List<SpuAttrValue> getExamSpuAttrsBySpuId(Integer spuId) {
        return baseMapper.getExamSpuAttrsBySpuId(spuId);
    }
}




